package com.drcoffee.drcoffeemall.mapper;

import com.drcoffee.drcoffeemall.entry.CssOrientation;
import com.drcoffee.drcoffeemall.entry.Explosion;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/*
 * 爆炸图
 * */

@Mapper
@Repository
public interface ExplosionMapper {
    /* 根据ID查询爆炸图 */
    Explosion getExplosionById(Integer id);

    /* 根据机器Id查询爆炸图 */
    List<Explosion> getExplosionByMachineId(Integer machine_id);

    /* 查询包插图关联的定位点 */
    List<CssOrientation> getCssOrientation(Integer id);

}
